<div class="cl">
	<div class="content_holder fl">
		<div id="content">
			<div id="message_list">
				<?php $this->renderPartial('_messagesList',array('messages'=>$messages, 'countMessages'=>$countMessages)) ?>
			</div>
			<!-- NEW Message -->
			<div id="message_new">
				<?php echo CHtml::form(); ?>
					<div class="post_form br5 cl">
						<div class="av ">
							<div class="br5"><?php echo $this->material_image(Yii::app()->user->id, Yii::app()->user->getState('avatar'), '58', 'images/' . Yii::app()->user->id); ?></div>
							<span><?php echo Yii::app()->user->name; ?></span>
						</div>
						<div class="message_content">
							<?php echo CHtml::label('Send Message', 'textMessage'); ?>
							<?php echo CHtml::textArea('textMessage', '', array('class'=>'br5')); ?>
						</div>
						<input type="hidden" name="to_id" value="<?php echo $companion_info->id; ?>" />
						<div class="cl"> 
							<span class="btn blue br5 fl">
								<?php echo CHtml::submitButton('Send'); ?>
							</span>
						</div>
						
					</div>
				<?php echo CHtml::endForm();?>
			</div>
			<!-- END New Message -->
		</div>
	</div>
	<!-- Right col -->
	<div id="right" class="br5">
		<div class="order_form">
			<!-- right menu Cabinet -->
			<?php $this->renderPartial('_menu_r_Cabinet'); ?>
		</div>
	</div>
</div>